package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;


/**
 * Created by hacker on 2017/8/2.
 */
@Entity
public class Storage {
    @Id
    private long id;
    @Property
    private Float tonnage;
    @Property
    private Float volume;
    @Property
    private Date lastintime;

    public Date getLastintime() {
        return this.lastintime;
    }
    public void setLastintime(Date lastintime) {
        this.lastintime = lastintime;
    }
    public Float getVolume() {
        return this.volume;
    }
    public void setVolume(Float volume) {
        this.volume = volume;
    }
    public Float getTonnage() {
        return this.tonnage;
    }
    public void setTonnage(Float tonnage) {
        this.tonnage = tonnage;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Generated(hash = 82588321)
    public Storage(long id, Float tonnage, Float volume, Date lastintime) {
        this.id = id;
        this.tonnage = tonnage;
        this.volume = volume;
        this.lastintime = lastintime;
    }
    @Generated(hash = 2114225574)
    public Storage() {
    }
}
